import request from "@/utils/request";


/**
 * 导入标准账单
 *
 * @param file
 */
export function importColumn(platformKey: string, type: string, file: any) {
	const formData = new FormData();
	formData.append('file', file);
	return request({
		url: '/api/v1/columnImport/save/' + platformKey + '/' + type,
		method: 'post',
		data: formData,
		headers: {
			'Content-Type': 'multipart/form-data'
		}
	});
}

